﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    /// <summary>
    /// Container for income / revenue information of the party
    /// Note at least one revenue required
    /// </summary>
    public class Revenues : List<Revenue>, IExtendedAttributes
    {
        public Revenues()
        {
        }

        public Revenues(int capacity)
            : base(capacity)
        {
        }

        public Revenues(IEnumerable<Revenue> collection)
            : base(collection)
        {
        }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
